package com.zhang.user.dao;

import com.zhang.user.pojo.po.SysUserInfoPo;
import org.springframework.data.jpa.repository.JpaRepository;
import org.springframework.stereotype.Repository;

@Repository
public interface SysUserInfoDao extends JpaRepository<SysUserInfoPo, Integer> {

    SysUserInfoPo findByEmailAndPassword(String email, String password);

    SysUserInfoPo findByEmail(String email);

}
